package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {

    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    /*
    * 查看我们的购物车*/
    List<ShoppingCart> showShoppingCart();

    void cleanShopingCart();

    /*
    * 删除购物车中的一个商品*/
    void subShoppingCart(ShoppingCartDTO shoppingCartDTO);
}
